<!DOCTYPE html>
<html> 
    <head> 
        <title>RSS Flow Reader DRAMSY</title> 
        <meta name="viewport" content="width=device-width, initial-scale=1" /> 
		<meta charset="utf-8" />
        <link rel="stylesheet" href="http://code.jquery.com/mobile/1.1.1/jquery.mobile-1.1.1.min.css" />
        <script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
		<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/jquery-ui.min.js"></script>
        <script src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js"></script>
        <script type="text/javascript" src="https://www.google.com/jsapi"></script>
        <script type="text/javascript" src="js/jquery.cookie.js"></script>
		<script type="text/javascript" src="js/jquery.touchPunch.js"></script>
        <script type="text/javascript" src="js/data-storage-management.js"></script>
        <script type="text/javascript" src="js/feed-management.js"></script>

        <script type="text/javascript">
            google.load("feeds", "1");
        </script>
    </head>
    <body>

        <div data-role="page" id="homePage">
            <div data-role="header" data-theme="a" data-position="fixed">
                <h3>Subscriptions</h3>
                <a data-theme="b" data-mini="true" data-icon="delete" id="deleteButton" data-iconpos="left"  class="ui-btn-left" style="display:none">
                    Delete
                </a>
                <a href="#addFlowPage" data-theme="b" data-mini="true" data-icon="plus" data-rel="dialog" data-iconpos="right" data-transition="pop" class="ui-btn-right" >
                    Add
                </a>
            </div>
            <div data-role="content" style="padding:15px">
                <div data-role="collapsible-set" id="feedList" data-inset="false">
                    
                </div>
            </div>
        </div>

        <div data-role="page" id="addFlowPage">
            <div data-role="header" data-theme="a">
                <h3 id="MaintTitle">Add Feed</h3>
            </div>
            <div data-role="content" style="padding:15px">
                <div class="ui-grid-a">
                    <div class="ui-block-a">
                        <input type="text" name="flowURLText" id="flowURLText" value="" data-mini="true" />
                    </div>
                    <div class="ui-block-b">
                        <a href="#" data-role="button" data-icon="plus" data-inline="true" data-mini="true" data-theme="b"  id="addButton">Add</a>
                    </div>
                </div>
            </div>
        </div>
        
        <div data-role="page" id="readArticlePage">
            <div data-role="header" data-theme="a" data-position="fixed">
                <h3 id="ReadFeed">ReadFeed</h3>
                <a href="#homePage" data-theme="b" data-icon="back" data-iconpos="left" data-transition="fade" class="ui-btn-left" >
                    Back
                </a>
            </div>
            <div data-role="content" style="padding:15px" id="readArticle">
                
            </div>
        </div>

        <script>
            jQuery("#homePage").bind('pageinit',function() {
                FEED_MANAGEMENT.init();
            })
        </script>
    </body>
</html>
